class NameException(Exception):
    def __init__(self, msg):
        self.msg = msg

    def __str__(self):
        return f"NameException: {self.msg}"


try:
    name = input('sss:')
    if name == 'll':
        raise NameException('真不错')
except NameException as e:
    print(e)
